package com.lzy.utils;/**
 * description: 生产代码bean <br>
 * date: 2024/1/6 上午8:50 <br>
 * author: lcc <br>
 * version: 1.0 <br>
 */

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author lcc
 * @description TODO
 * @since 2024/1/6 上午8:50
 **/
@Data
public class CreateCodeeModel {
    @NotBlank(message = "项目名不能为空")
    @ApiModelProperty("作者")
    private String author;

    @NotBlank(message = "父包名不能为空")
    @ApiModelProperty("父包名")
    private String parent;

    @NotBlank(message = "模块名不能为空")
    @ApiModelProperty("模块名")
    private String moduleName;

    @NotBlank(message = "表名不能为空")
    @ApiModelProperty("表名")
    private String tableName;

    @NotNull(message = "是否包含公共字段不能为空")
    @ApiModelProperty("是否包含公共字段")
    private Integer isDefField;

    @NotNull(message = "是否包含公共字段不能为空")
    @ApiModelProperty("代码类型")
    private Integer codeType;
}

